package com.qzsoft.zhjd.collect.modules.dosage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.collect.modules.dosage.dto.CollectDosageDto;
import com.qzsoft.zhjd.collect.modules.dosage.entity.CollectDosageEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 消耗信息
 */
@Mapper
public interface CollectDosageMapper extends BaseMapper<CollectDosageEntity> {

    /**
     * 获取分页列表数据
     *
     * @param page   分页信息
     * @param params 查询条件
     * @return 分页列表数据
     */
    public IPage<CollectDosageDto> query(IPage<CollectDosageDto> page, @Param("params") Map<String, Object> params);

}
